{include "INC_header.html"}
<div class="main-wrap">
    <main>
        <div class="container">
            <div class="ui breadcrumb text-small margin-bottom">
                <div class="item"><a href="/">首页</a></div>
                {if $CMS_PAGE == "category"}
                {foreach $category.parents as $parent}
                <div class="item"><a href="{$parent.url}">{$parent.name}</a></div>
                {/foreach}
                <div class="item">{$category.name}</div>
                {else}
                <div class="item">{$CMS_PAGE_TITLE|default:'文章列表'}</div>
                {/if}
            </div>
            {if $list.rows > 0}
            <div class="radius overflow-hidden light-background">
                <div class="list linear-split double-item-space" id="vue-outlet">
                    {foreach $list.list as $item}
                    {include "INC_item.html" item=$item}
                    {/foreach}
                </div>
                {if $list.pages > 1}
                <div class="border-top light-border" style="padding: 20px;">
                    {include "INC_pagination.html" pageUrl=""}
                </div>
                {/if}
            </div>
            {else}
            <!-- 没有数据 -->
            {include "INC_emptyList.html" message="没有相关的文章数据"}
            {/if}
        </div>
        <!-- 右侧 -->
        {include "INC_aside.html"}
    </main>
</div>
{include "INC_footer.html"}